Intersoft WebTextEditor Documentation
How-to: Import a document to WebTextEditor
See Also Send Feedback
Intersoft WebTextEditor > WebTextEditor > ToolBar > Perform Document Properties Actions > How-to: Import a document to WebTextEditor

Glossary Item Box

WebTextEditor provides a method to implement document import during client side event.

In this topic, you will learn how to import a document.

To import document to WebTextEditor

  1. Set the EnableDocumentImport property in the WebTextEditor to True. This will add a new command, Import Command, to the WebTextEditor toolbar.
  2. The import function implementation is done during onToolBarClick client side event of WebTextEditor. Here is the snippet:
    C# Copy Code
    function WebTextEditor1_OnToolBarClick(controlId, command, commandSection)
    {    
       var rte = ISGetObject(controlId);     
       
       if (command.Name == "cmdImport")        
          alert("implement document import");
    }
    

See Also

©2013. All Rights Reserved.